<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Document</title>
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  <meta name="description" content="Description">
  <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">

  <!-- 主题 -->
  <!-- <link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css"> -->
  <!-- <link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/pure.css"> -->
  <!-- <link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/buble.css"> -->
  <link rel="stylesheet" href="./static/docsify-theme-simple.css">
  <link rel="stylesheet" href="./static/highlight.js-default.min.css">

  <!-- 脚本 -->
  <script src="./static/jquery-3.3.1.min.js"></script>

  <style>
    table {
      width: 100%;
      border-left: 1px solid #bdbdbd;
    }
    .markdown-section tr>td:last-child {
      border-right: 1px solid #bdbdbd;
    }
    .markdown-section tr>th:last-child {
      border-right: 1px solid #bdbdbd;
    }
    .markdown-section tbody>tr:last-child {
      border-bottom: 1px solid #424242;
    }
    .markdown-section thead {
      border-top: 1px solid #bdbdbd;
      border-bottom:1px solid black;
    }
    .markdown-section td {
        padding: 5px;
    }
  </style>

</head>
<body>
  <nav>
    <a href="https://github.com/endlesstravel/Love2dCS">Github</a>
  </nav>
  <div id="app"></div>
  <script>
    function renderHighlightCode() {
      $("pre code[class^=lang-C]").each(function(i, block) {
        hljs.highlightBlock(block);
      });
    }

    function highlight_js_plugin(hook, vm) {
      hook.init(function() {
        // 初始化时调用，只调用一次，没有参数。
        hljs.configure({
          tabReplace: '    ', // 4 spaces
        })
      })

      hook.beforeEach(function(content) {
        // 每次开始解析 Markdown 内容时调用
        // ...
        return content
      })

      hook.afterEach(function(html, next) {
        // 解析成 html 后调用。beforeEach 和 afterEach 支持处理异步逻辑
        // ...
        // 异步处理完成后调用 next(html) 返回结果
        next(html)
      })

      hook.doneEach(function() {
        // 每次路由切换时数据全部加载完成后调用，没有参数。
        // ...
        renderHighlightCode();
        window.scrollTo(0, 0); // 滚动到最上面
      })

      hook.mounted(function() {
        // 初始化完成后调用 ，只调用一次，没有参数。
      })

      hook.ready(function() {
        // 初始化并第一次加完成数据后调用，没有参数。
      })
    }


    window.$docsify = {
      name: '',
      repo: '',
      loadSidebar: '_sidebar-zh.md',
      homepage: 'README-zh.md',

      plugins: [highlight_js_plugin]
    };
  </script>
  <script src="./static/docsify.min.js"></script>
  <script src="./static/highlight.min.js"></script>


  <!-- 统计脚本 -->
  <script async src="https://s23.cnzz.com/z_stat.php?id=1275820434&web_id=1275820434" language="JavaScript"></script>
  <!-- <script>var clicky_site_ids = clicky_site_ids || []; clicky_site_ids.push(101158902);</script> -->
  <!-- <script async src="//static.getclicky.com/js"></script> -->
</body>
</html>
